/**
 * 
 */
package com.cxc.myweb.demo.service;


import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;

@Path("/demo/user/")
public interface UserService {

	@GET
	@Path("/hello/{name}/")
	public String sayHello(@PathParam("name") String name);

	@GET
	@Path("/query/{userId}/")
	public String queryUser(@PathParam("userId") String userId);
	
	@GET
	@Path("/validate/{userName}/{userPassword}")
	public String validateUser(@PathParam("userName") String userName,@PathParam("userPassword") String userPassword);

	@GET
	@Path("/queryList/")
	public String queryUserList();
	
}